<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<script type="text/javascript" src="<%=basePath%>/login/scripts/common.js"></script>
		<link rel="stylesheet" type="text/css" href="login/css/style.css" />
		<link rel="stylesheet" type="text/css" href="login/css/theme1.css" />
		<style type="text/css">
td {
	border: none;
}

fieldset {
	display: block;
	padding: 5px 10px 5px 10px;
	line-height: 20px;
	margin-bottom: 10px;
	border: 1px solid #d9e6f0;
	margin-left: 10px;
}

fieldset legend {
	border: 1px solid #d9e6f0;
	background: #fff url(img/form_blue.gif) repeat-x center left;
	color: #375b91;
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 5px;
	padding: 3px;
	width: 150px;
}

input {
	border: 1px solid #d9e6f0;
	background: #fff url(login/img/form_blue.gif) repeat-x top left;
	padding: 3px;
	margin-bottom: 5px;
	width: 180px;
}

input,select {
	height: 26px;
	margin: 0px;
	border: 1px solid;
}

textarea {
	border: 1px solid #d9e6f0;
	background: #fff url(login/img/form_blue.gif) repeat-x bottom left;
	padding: 5px;
	overflow: auto;
}

select {
	margin-left: 0px;
	width: 181px;
}
</style>
	</head>
	<body>
		<div id="wrapper" style="margin-top: 10px;">
			<div id="content">
				<form method="post" action="${actionName }">
					<div id="box">
						<div>
							<h3>
								当前位置&nbsp;:&nbsp;系统设置&nbsp;>>&nbsp;自动站设置&nbsp;>>&nbsp;自动站列表&nbsp;>>&nbsp;自动站明细
							</h3>
						</div>
						<fieldset id="personal">
							<legend>
								自动站明细
							</legend>
							<table width="840" border="0" cellpadding="0" cellspacing="3"
								class=".tab_table">
								<tr>
									<td width="130" align="right">
										编号:
									</td>
									<td>
										<input name="zdz.ZId" value="${bean.ZId }" type="text"
											tabindex="1" />
									</td>
									<td width="80" align="right" valign="top">
										名称:
									</td>
									<td>
										<input name="zdz.ZCname" value="${bean.ZCname }" type="text"
											tabindex="1" />
									</td>
								</tr>
								<tr>
									<%--<td align="right">地区:
						</td>
						<td><select name="disastertype">
						  <option>---请选择-</option>
					    </select></td>
					    					  --%>
									<td align="right">
										海拔高度:
									</td>
									<td>
										<input name="zdz.ZHeight" value="${bean.ZHeight }" type="text"
											tabindex="1" />
									</td>
									<td width="80" align="right" valign="top">
										描述:
									</td>
									<td>
										<input name="zdz.ZName" value="${bean.ZName }" type="text"
											tabindex="1" />
									</td>
								</tr>
								<tr>
									<td align="right">
										经度:
									</td>
									<td>
										<input name="zdz.ZLon" value="${bean.ZLon }" type="text"
											tabindex="1" />
									</td>
									<td align="right" valign="top">
										纬度:
									</td>
									<td>
										<input name="zdz.ZLat" value="${bean.ZLat }" type="text"
											tabindex="1" />
									</td>
								</tr>
								<tr>
									<td align="right">
										类别:
									</td>
									<td>
										<select name="zdz.ZType">
											<option value="">请选择自动站类型</option>
											<option value="镇区" <c:if test="${bean.ZType=='镇区'}">selected</c:if>>镇区</option>
											<option value="水库水闸" <c:if test="${bean.ZType=='水库水闸'}">selected</c:if>>水库水闸</option>
											<option value="学校" <c:if test="${bean.ZType eq '学校'}">selected</c:if>>学校</option>
										</select>
										
									</td>
									<td align="right" valign="top">
									</td>
									<td>
									</td>
								</tr>
							</table>
						</fieldset>
						<div align="center">
							<input type="hidden" name="className" value="zdz" />
							<input type="hidden" name="zdz.ZNum" value="${bean.ZNum }" />
							<c:if test="${actionName!=null}">
								<input type="submit" value="提  交" />&nbsp;&nbsp;
            	</c:if>
							<input type="button" value="返  回" onclick="javascript:forBack();" />
						</div>
						<br />
					</div>
				</form>
			</div>
		</div>
	</body>
</html>